docs: add llms.txt support via starlight-llms-txt plugin - #709
Open
brad-dow wants to merge 1 commit into
Open
Conversation
✅ Deploy Preview for webmonetization-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
Installed
starlight-llms-txtand configured for Web Monetization. The plugin generates three routes at build time:Special configuration for Web Monetization:
detailsblock explains the two main audiences (developers/publishers integrating WM vs. supporters sending payments), clarifies terminology that differs from common usage (wallet address vs. the older "payment pointer", continuous payments, probabilistic revenue share), notes how WM relates to Open Payments and ILP, and calls out the current maintenance status of the WM tools (community-led, no longer proactively developed for new features) so agents don't assume active feature developmentcustomSetsgroups content into five named subsets (For content owners (publishers), For content consumers (supporters), Developers, Guides and tutorials, Resources) - this helps agents pull targeted content instead of the whole fileoptionalLinkspoints to the GitHub repo, the Web Monetization specification, and the Open Payments documentation that WM-enabled wallets use under the hood to execute paymentsAlso required a small fix in ExtensionLinks.astro: Astro.site is undefined when
starlight-llms-txtrenders page content through Astro's container API (rather than a normal page request), which crashed /llms-full.txt and /llms-small.txt on any page embedding this component. Added a guard so the optional UTM param is only set when Astro.site is available — no change to normal page rendering.